package XMLread;

import com.google.android.maps.GeoPoint;

public class Intersection {
	private String interID;
	private GeoPoint geopoint;
	
	public Intersection(String id, double latit, double longit){
		this.setInterID(id);
		setGeopoint(latit, longit);
		
	}
	
	public String getInterID() {
		return interID;
	}
	
	public void setInterID(String interID) {
		this.interID = interID;
	}	

	public GeoPoint getGeopoint() {
		return geopoint;
	}

	public void setGeopoint(double latitude, double longitude) {
		this.geopoint = new GeoPoint((int) (latitude * 1e6), (int) (longitude * 1e6));
	}
}
